package com.cxc.simple;

public class Client {

    public static void main(String[] args) {

        MyObject  myObject = new MyObject();
        IncreaseThread increaseThread = new IncreaseThread(myObject);
        IncreaseThread increaseThread1 = new IncreaseThread(myObject);
        Thread decreaseThread = new DecreaseThread(myObject);
        Thread decreaseThread1 = new DecreaseThread(myObject);
        increaseThread.start();
        increaseThread1.start();
        decreaseThread.start();
        decreaseThread1.start();
    }

}
